Repository navigation
fix(pathlock): preserve independent holders across handoff and recovery - #6895
Merged
zhanglistar merged 1 commit intoNov 2, 2026
Merged
Conversation
Keep each lease independently renewable and releasable, and recover durable handoffs under their original owner without losing lock coverage.
Collaborator
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
描述
修复同一 owner 下多份租约在跨进程 handoff 后相互影响续租、过期和释放的问题。
每份租约使用独立 holder,释放或过期一个 holder 不影响其他租约。有效 handoff 转移来源 holder;来源丢失或存储 provider 变化时,校验账号与完整锁覆盖范围,在原 owner 下重新获取租约后继续执行。
人工参与
关联 Issue
暂无。
变更类型
主要改动
holder_id,接管时替换有效来源 holder,使旧 holder 失效。测试
验证结果:
git diff --check通过。检查清单
截图
不适用。
补充说明
holders列;新代码可读取旧 token,但不支持新旧进程共享锁存储。